$OpenBSD: patch-zebra_kernel_socket_c,v 1.10 2015/04/18 10:39:34 sthen Exp $
--- zebra/kernel_socket.c.orig	Sat Mar  7 01:58:00 2015
+++ zebra/kernel_socket.c	Wed Mar 18 18:28:11 2015
@@ -185,7 +185,7 @@ const struct message rtm_type_str[] =
   {RTM_REDIRECT, "RTM_REDIRECT"},
   {RTM_MISS,     "RTM_MISS"},
   {RTM_LOCK,     "RTM_LOCK"},
-#ifdef OLDADD
+#ifdef RTM_OLDADD
   {RTM_OLDADD,   "RTM_OLDADD"},
 #endif /* RTM_OLDADD */
 #ifdef RTM_OLDDEL
@@ -799,9 +799,7 @@ rtm_read_mesg (struct rt_msghdr *rtm,
 
   /* rt_msghdr version check. */
   if (rtm->rtm_version != RTM_VERSION) 
-      zlog (NULL, LOG_WARNING,
-	      "Routing message version different %d should be %d."
-	      "This may cause problem\n", rtm->rtm_version, RTM_VERSION);
+      return 0;
   
   /* Be sure structure is cleared */
   memset (dest, 0, sizeof (union sockunion));
